package com.founder.chd_daily_query.service;

import com.founder.chd_daily_query.entity.file.FileLoadEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface FileService {
    Map<String,Object> fileUpload(MultipartFile file);
    String fileDownload(String fileId, HttpServletResponse response) throws IOException;
    Map<String,Object> getList(int page, int count);
    String fileDelete(String id);
}
